﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("PFT_goodsinventoryHis", "PFT_goodsinventoryHis", new string[] { "PKID" })]
    [KnownType(typeof(PFT_goodsinventoryHis))]
    public class PFT_goodsinventoryHis : MB.Orm.Common.BaseModel
    {
        public PFT_goodsinventoryHis()
        {

        }

        private Int64 _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int64)]
        public Int64 GOODSID { get { return _GOODSID; } set { _GOODSID = value; } }


        private Int64 _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Int64)]
        public Int64 QTY { get { return _QTY; } set { _QTY = value; } }
        
        
        private Int64 _CREATERID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATERID", System.Data.DbType.Int64)]
        public Int64 CREATERID { get { return _CREATERID; } set { _CREATERID = value; } }

        private Int64 _OFFSHELVESID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OFFSHELVESID", System.Data.DbType.Int64)]
        public Int64 OFFSHELVESID { get { return _OFFSHELVESID; } set { _OFFSHELVESID = value; } }

        private Int64 _LMOFFSHELVESGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LMOFFSHELVESGOODSID", System.Data.DbType.Int64)]
        public Int64 LMOFFSHELVESGOODSID { get { return _LMOFFSHELVESGOODSID; } set { _LMOFFSHELVESGOODSID = value; } }

        private string _NOTE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("NOTE", System.Data.DbType.String)]
        public string NOTE { get { return _NOTE; } set { _NOTE = value; } }

    }
}
